package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

     OrderSetting findByOrderDate(Date orderDate);
 //   long findCountByOrderDate(Date orderDate);

  void add(OrderSetting orderSetting);

    void editNumberByOrderDate(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(@Param("startDate") Date startDate,@Param("endDate") Date endDate);
}
